package com.newtouch.avmarketing.mgr.modules.avmarkrting.service.impl;

import com.newtouch.avmarketing.mgr.modules.avmarkrting.entity.ConfigurationContent;
import com.newtouch.avmarketing.mgr.modules.avmarkrting.repo.ConfigurationContentRepo;
import com.newtouch.avmarketing.mgr.modules.avmarkrting.service.ConfigurationContentService;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class ConfigurationContentServiceImpl implements ConfigurationContentService {

    @Autowired
    private ConfigurationContentRepo configurationContentRepo;

    private Logger logger = LoggerFactory.getLogger(ConfigurationContentService.class);
    @Override
    public List<ConfigurationContent> findByStepId(Long stepId) {
        return configurationContentRepo.findByStepId(stepId);
    }
}
